SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 59145: The SAS® Financial Management fm_1300_load_exchange rates job fails and returns "...ERROR: duplicate key value violates unique constraint..."

DetailsHotfixAboutRate It

The SAS Financial Management fm_1300_load_exchange rates job might fail if you are loading derived (complex) exchange rates. When you encounter this problem, a message similar to the following is displayed in the SASFinancialManagement5.5.log:

Caused by: com.sas.solutions.odcs.client.ODCSRuntimeException:
org.postgresql.util.PSQLException: ERROR: duplicate key value violates
unique constraint "sas_xrate__unique_crossing" Detail: Key (xrate_set_id,
xrate_type_member_id, from_currency_member_id,
to_currency_member_id, time_member_id, concat_member_ids)=(208, 523,
855, 856, 832, 550,650) already exists.

This error is most likely to occur if Time dimension member codes exceed eight characters in length.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Financial ManagementMicrosoft® Windows® for x645.55.69.4 TS1M29.4 TS1M6
64-bit Enabled AIX5.55.69.4 TS1M29.4 TS1M6
64-bit Enabled Solaris5.55.69.4 TS1M29.4 TS1M6
Linux for x645.55.69.4 TS1M29.4 TS1M6
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.